
// 自动生成模板CasPersons
package person
import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// casPersons表 结构体  CasPersons
type CasPersons struct {
    global.GVA_MODEL
    CaseId  *int `json:"caseId" form:"caseId" gorm:"column:case_id;comment:cas_cases.id;size:19;" binding:"required"`  //案件名 
    Name  *string `json:"name" form:"name" gorm:"column:name;comment:姓名;size:25;" binding:"required"`  //姓名 
    IdNumber  *string `json:"idNumber" form:"idNumber" gorm:"column:id_number;comment:身份证;size:120;" binding:"required"`  //身份证 
    Address  *string `json:"address" form:"address" gorm:"column:address;comment:户籍地址;size:120;" binding:"required"`  //户籍地址 
    Age  *int `json:"age" form:"age" gorm:"column:age;comment:年龄;size:10;" binding:"required"`  //年龄 
    Nation  *string `json:"nation" form:"nation" gorm:"column:nation;comment:民族;size:25;" binding:"required"`  //民族 
    Culture  *string `json:"culture" form:"culture" gorm:"column:culture;comment:文化程度;size:25;" binding:"required"`  //文化程度 
    TownCode  *string `json:"townCode" form:"townCode" gorm:"column:town_code;comment:归属乡镇;size:25;" binding:"required"`  //归属乡镇 
    Phone  *string `json:"phone" form:"phone" gorm:"column:phone;comment:联系电话;size:55;" binding:"required"`  //联系电话 
    Amount  *float64 `json:"amount" form:"amount" gorm:"column:amount;comment:金额;" binding:"required"`  //金额 
}


// TableName casPersons表 CasPersons自定义表名 cas_persons
func (CasPersons) TableName() string {
    return "cas_persons"
}





